<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<?php echo $this->Html->charset(); ?>
	<title>
		<?php 
			echo $title_for_layout; 			
		?>
	</title>
	
	<meta name="Author" content="Sylwester Kowal"/>
	<meta name="Copyright" content="Sylwester Kowal"/>
	<meta name="Language" content="<?php echo Configure::read('Config.language');?>" />	

	<?php echo $this->Html->script(array(
		'highslide-full'
		,'jquery-1.4.3.min'
		,'jquery-ui-1.8.16.custom.min'
	),$options = array('allowCache'=>false,'safe'=>false,'inline'=>true));?>
	
	<?php
	echo $javascript->codeBlock("
			hs.graphicsDir = '/css/highslide/graphics/';
			hs.outlineType = 'rounded-white';
			hs.wrapperClassName = 'draggable-header';
			hs.align = 'center';
		",$options = array('allowCache'=>false,'safe'=>false,'inline'=>true));
	?>

	<?php 
		echo $this->Html->css(array(
			'main-clear'
			,'custom-theme/jquery-ui-1.8.16.custom'
			,'menu/dropdown'
			,'menu/default.advanced'
			,'highslide/highslide'		
		));
		echo $scripts_for_layout;
	?>
	
</head>
<body>
	<div class="alerts" title="<?php //echo __('Attention',true)?>">
		<?php 
			$alert = $this->Session->flash();
			$alert .= $this->Session->flash('auth');
			$alert .= $this->Session->flash('email');
			echo $alert;
		?>
	</div>
	<?php echo $content_for_layout;?>	

<?php echo $this->element('sql_dump');?>
<?php echo $this->Js->writeBuffer();?>
</body>
</html>